package com.xlf.pojo.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.xlf.pojo.mode.BaseEntity;
import com.xlf.pojo.vo.UserVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName contest_register
 */
@TableName(value ="contest_register")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ContestRegister extends BaseEntity implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 比赛id
     */
    private Long cid;

    /**
     * 用户id
     */
    private Long uid;

    /**
     *报名状态
     */
    private Integer status;

    /**
     * 用户
     */
    @TableField(exist = false)
    private UserVO userVO;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
